<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ include file="/commons/commonList.jsp"%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>复验结果 分帧页${hasDetail!=null }</title>
<link href="${ctx}/css/grid.css" rel="stylesheet" type="text/css" />
<script language="JavaScript" type="text/javascript" src="${ctx}/scripts/common.js"></script>
<script type="text/javascript">
	function openDetailPage(key){
	<c:if test="${hasDetail=='true' }">
		var url = '${ctx}/renovation_firstInspectionAction.do?method=showDetailPage&isReinspection=true&inspectionRequisitionId=' + key;
		top.windowOpen(url, 'firstInspectionDetail', '复验详细', 280, 750);
		</c:if>
	}
</script>
</head>

<body >

 <div style="overflow: auto;height: 200px">
	<ec:table  action=""
				items="reinspectionList"
				var="item"
				view="pmsNoPageView"
				styleClass="gridData2"
				rowsDisplayed="${totalRows }">
		<ec:ceRow ondblclick="javascript: openDetailPage('${item.keyword}');" styleClass="grid" >
			<ec:column width="15%" headerCell="pmsHeadrCell" title="复验结果" property="result">
				<c:if test="${item.result == '001' }">验收通过</c:if>
				<c:if test="${item.result == '002' }">验收不通过</c:if>
			</ec:column>
			<ec:column width="15%" headerCell="pmsHeadrCell" title="复验时间" property="inspectionDate" cell="date" parse="yyyy-MM-dd HH" ></ec:column>
			<ec:column width="30%" headerCell="pmsHeadrCell" title="验收小组成员" property="members"></ec:column>
			<ec:column width="40%" headerCell="pmsHeadrCell" title="备注" property="remark"></ec:column>
		</ec:ceRow>
	</ec:table>
  </div>

</body>
</html>
